package net.youball.entity;

/**
 * BallInnings entity. @author MyEclipse Persistence Tools
 */

public class BallInnings extends  BaseEntity implements
		java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer inningsId;
	private String inningsName;
	private String inningsDetail;
	private Integer inningsFounderUserId;
	private Integer inningsWagerId;
	private Integer inningsType;
	private Integer inningsLimit;
	private Integer inningsBallCarryUserId;
	private long inningsTime;
	private String inningsAddr;
	private Integer inningsFree;
	private Integer state;
	private String inningsLocation;

	// Constructors

	/** default constructor */
	public BallInnings() {
	}

	/** full constructor */
	public BallInnings(String inningsName, String inningsDetail,
			Integer inningsFounderUserId, Integer inningsWagerId,
			Integer inningsType, Integer inningsLimit,
			Integer inningsBallCarryUserId, long inningsTime,
			String inningsAddr, Integer inningsFree, Integer state,
			String inningsLocation) {
		this.inningsName = inningsName;
		this.inningsDetail = inningsDetail;
		this.inningsFounderUserId = inningsFounderUserId;
		this.inningsWagerId = inningsWagerId;
		this.inningsType = inningsType;
		this.inningsLimit = inningsLimit;
		this.inningsBallCarryUserId = inningsBallCarryUserId;
		this.inningsTime = inningsTime;
		this.inningsAddr = inningsAddr;
		this.inningsFree = inningsFree;
		this.state = state;
		this.inningsLocation = inningsLocation;
	}

	// Property accessors

	public Integer getInningsId() {
		return this.inningsId;
	}

	public void setInningsId(Integer inningsId) {
		this.inningsId = inningsId;
	}

	public String getInningsName() {
		return this.inningsName;
	}

	public void setInningsName(String inningsName) {
		this.inningsName = inningsName;
	}

	public String getInningsDetail() {
		return this.inningsDetail;
	}

	public void setInningsDetail(String inningsDetail) {
		this.inningsDetail = inningsDetail;
	}

	public Integer getInningsFounderUserId() {
		return this.inningsFounderUserId;
	}

	public void setInningsFounderUserId(Integer inningsFounderUserId) {
		this.inningsFounderUserId = inningsFounderUserId;
	}

	public Integer getInningsWagerId() {
		return this.inningsWagerId;
	}

	public void setInningsWagerId(Integer inningsWagerId) {
		this.inningsWagerId = inningsWagerId;
	}

	public Integer getInningsType() {
		return this.inningsType;
	}

	public void setInningsType(Integer inningsType) {
		this.inningsType = inningsType;
	}

	public Integer getInningsLimit() {
		return this.inningsLimit;
	}

	public void setInningsLimit(Integer inningsLimit) {
		this.inningsLimit = inningsLimit;
	}

	public Integer getInningsBallCarryUserId() {
		return this.inningsBallCarryUserId;
	}

	public void setInningsBallCarryUserId(Integer inningsBallCarryUserId) {
		this.inningsBallCarryUserId = inningsBallCarryUserId;
	}

	public long getInningsTime() {
		return this.inningsTime;
	}

	public void setInningsTime(long inningsTime) {
		this.inningsTime = inningsTime;
	}

	public String getInningsAddr() {
		return this.inningsAddr;
	}

	public void setInningsAddr(String inningsAddr) {
		this.inningsAddr = inningsAddr;
	}

	public Integer getInningsFree() {
		return this.inningsFree;
	}

	public void setInningsFree(Integer inningsFree) {
		this.inningsFree = inningsFree;
	}

	public Integer getState() {
		return this.state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public String getInningsLocation() {
		return this.inningsLocation;
	}

	public void setInningsLocation(String inningsLocation) {
		this.inningsLocation = inningsLocation;
	}

	@Override
	public String toString() {
		return "BallInnings [inningsAddr=" + inningsAddr
				+ ", inningsBallCarryUserId=" + inningsBallCarryUserId
				+ ", inningsDetail=" + inningsDetail
				+ ", inningsFounderUserId=" + inningsFounderUserId
				+ ", inningsFree=" + inningsFree + ", inningsId=" + inningsId
				+ ", inningsLimit=" + inningsLimit + ", inningsLocation="
				+ inningsLocation + ", inningsName=" + inningsName
				+ ", inningsTime=" + inningsTime + ", inningsType="
				+ inningsType + ", inningsWagerId=" + inningsWagerId
				+ ", state=" + state + "]";
	}
	
}